//
//  FilterRegionsViewController.h
//  Fangmm
//
//  Created by 阮琦 on 16/3/1.
//  Copyright © 2016年 com.fangmm. All rights reserved.
//

#import <UIKit/UIKit.h>
@protocol FilterRegionsViewDelegate <NSObject>
- (void)doneFilterWithDistrict:(NSString *)district WithRegion:(NSString *)region WithRegionCode:(NSString *)regionCode;
@end

@interface FilterRegionsViewController : UIViewController
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UIButton *doneButton;
@property (weak, nonatomic) IBOutlet UIButton *cancelButton;
@property (weak, nonatomic) IBOutlet UIView *line;
@property (weak, nonatomic) IBOutlet UITableView *districtTableView;
@property (weak, nonatomic) IBOutlet UITableView *businessTableView;

@property (strong, nonatomic) id regions;
@property (assign, nonatomic) NSInteger chosenComponent;
@property (assign, nonatomic) NSInteger chosenRow;

@property (strong, nonatomic) id <FilterRegionsViewDelegate> delegate;

- (IBAction)clickToDoneFilter:(UIButton *)sender;
- (IBAction)clickToCancelBack:(UIButton *)sender;
@end
